package dao;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
import pojo.User;

import java.util.Date;


public interface UserMapper {
   //@Select("select * from user")
    public User findall();

    public User findUser(@Param("username") String username,@Param("password") String password);

    public boolean addUser(User user);
}
